﻿using System;

namespace DCT.CodeBox.LightLog.Codes
{
    public interface ILog
    {
        object LoadConfig(object config);
        void D(string tag, object msg);
        void D(string tag, object msg, Exception exception);
        void E(string tag, object msg);
        void E(string tag, object msg, Exception exception);
        bool EnabledLog(LogLevel level);
        void F(string tag, object msg);
        void F(string tag, object msg, Exception exception);
        void I(string tag, object msg);
        void I(string tag, object msg, Exception exception);
        void Log(LogLevel level, string tag, object msg);
        void Log(LogLevel level, string tag, object msg, Exception exception);
        void W(string tag, object msg);
        void W(string tag, object msg, Exception exception);
    }
}
